﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin.Master" AutoEventWireup="true" CodeBehind="KazuoList.aspx.cs" Inherits="yedian.KazuoList" %>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <script type="text/javascript">
        $(function () {


            $("#Div5").dialog({
                bgiframe: true,
                autoOpen: false,
                width: 550,
                height: 400,
                modal: true,
                resizable: false,
                buttons: {
                    " 关闭 ": function () {
                        $(this).dialog("close");
                    }
                }
            });
        });
        function show(id) {
            $("#dd").text(id);
            $('#Div5').dialog('option', 'title', "卡座介绍");
            $('#Div5').dialog('open');
        }
    </script>
    <div style="height:100%">

        <asp:HiddenField id="sid" runat="server" value="0" />
        <div id="breadcrumb">
            <a href="#" title="Go to Home" class="tip-bottom"><i class="icon-home"></i>Home</a>
            <a href="ShopList.aspx" class="current">商家管理</a><a href="#" class="current">卡座列表</a></div>
         <table width="88%" border="0" cellspacing="0" cellpadding="0">
        <tr>
            <td class="STYLE6" align="left" style="width: 350px; height: 45px;">
                &nbsp;商家名称： &nbsp;<asp:Label ID="UserName" Width="180px" runat="server"></asp:Label>
            </td>
            <td align="left"> &nbsp;卡座名称： &nbsp;<asp:TextBox ID="kazuoName" Width="180px" runat="server"></asp:TextBox>&nbsp;<asp:Button
                    ID="Button1" runat="server" class="btn btn-success" Text="查询" OnClick="Button1_Click" />&nbsp;
               <input name="" onclick="history.go(-1)" type="button" class="btn" value="返回"
                        />
            </td>
        </tr>
    </table>

    <table rules="cols" class="table" width="100%" border="0" cellpadding="0" cellspacing="1">
        <asp:Repeater ID="rptlist" runat="server" EnableViewState="false">
            <HeaderTemplate>
                <tr style=" height: 25px;" class="STYLE5">
                    <td style=" width:140px;">名称
                    </td>
                    <td style=" width:120px;">价格
                    </td>
                    <td style=" width:200px;">允许人数
                    </td>
                    <td style=" width:80px;">可否预定
                    </td>
                    <td>操作</td>
                </tr>
            </HeaderTemplate>
            <ItemTemplate>
                <tr class="tdwwbackground STYLE5">
                    <td style="height: 32px;"><%# Eval("kzName")%></td>
                    <td style="height: 32px; word-wrap: break-word;word-break: normal;"><%# Eval("FixPice")%></td>
                    <td style="height: 32px; word-wrap: break-word;word-break: normal;"><%# Eval("maxPeopleNum")%></td>
                    <td style="height: 32px; word-wrap: break-word;word-break: normal;"><%# sfrzs(Eval("nowStatus").ToString())%></td>
                    <td style="height: 32px;"><a href="javascript:;" onclick="show('<%# Eval("kazuoDetails")%>')">查看描述</a></td>
                </tr>
            </ItemTemplate>
        </asp:Repeater>
    </table>
           <Yd:PageButton ID="PageBtn" runat="server" />

    </div>
     <div id="Div5" title=" 卡座介绍 " style="text-align: left">
        <table width="100%" height="90%" border="0" cellpadding="0" cellspacing="1" bgcolor="#b5d6e6"
            align="center">
            <tr >
                <td class="STYLE2" style="padding: 3px;">
                    <span id="dd"></span>
                </td>
            </tr>
         
        </table>
    </div>
</asp:Content>